#ifndef MYSETTINGS_H
#define MYSETTINGS_H

#include <QSettings>
#include <QDir>
#include "mysettings_global.h"
#include "settings.h"

class MySettings_EXPORT MySettings {
public:
    MySettings();
    ~MySettings();

    static QString dataPath(const QString &file);
    void applyProxySettings();

    void save();
    void refresh();

    //Settings getSettings() const;
    Settings settings;

protected:
    void loadSettings();

private:
    QString SettingsFile;
    QByteArray jsonSettings;
};
#endif // MYSETTINGS_H
